{% extends 'layout/base.html' %}
{% block title %} 图片列表 {% endblock%}


{% block main %}

<h1 class="">图片列表</h1>
<div class="row justify-content-center">
    
    <div class="col-md-8">
        {% for post in posts %}
        <span class="border" ><a target="_block" href="{{ post.url }} ">
            <img src="{{ post.url }} " style="width: 150px;">
        </a></span>
        {% endfor %}
        <div>
            {% from 'layout/next_page.html' import page_nav %}
                {{page_nav(pages, page, "main.articles")}}
        </div>
    </div>
</div>



{% endblock%}